package com.peanut.bosskg.entity.task;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * API接口-客户任务查询VO
 *
 * @author shikaibin
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "task对象", description = "任务")
public class ApiTaskVO implements Serializable {

    private static final long serialVersionUID = -8099358583741654017L;

    /**
     * 任务编号
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long taskId;

    /**
     * 任务名称
     */
    private String taskName;

    /**
     * 任务状态
     *     TO_RELEASE:待发布,
     *     PLATFORM_REVIEW_WAIT:平台待审核,
     *     PLATFORM_REVIEW_REFUSE:平台审核拒绝,
     *     LEVY_REVIEW_WAIT:服务商待审核,
     *     LEVY_REVIEW_REFUSE:服务商审核拒绝,
     *     TO_START:待开始,
     *     TASK_CONDUCT:进行中,
     *     TASK_END:已完成,
     *     TASK_SHUT:已结束
     * */
    private String taskStatus;

    /**
     * 开始日期
     */
    private String startTime;

    /**
     * 结束日期
     */
    private String endTime;

}
